export default () => {
  const { cimInstance } = window;
  const centerPosition = cimInstance.api.screenToDegrees({
    x: Math.round(document.body.offsetWidth / 2),
    y: Math.round(document.body.offsetHeight / 2),
  });

  return {
    data: {
      positions: [[centerPosition?.[0], centerPosition?.[1], 0]],
      rotation: [0, 0, 0],
      scale: [1, 1, 1],
      scaleAll: 1,
      createType: 'primitive',
      enable: true,
      shadowsType: 0,
      opacity: 100,
      enablePbr: true,
      isScale: true,
      color: '#ffffff',
      show: true,
      isImage: false,
      hiddenNodes: [],
    },
    material: [],
  };
};
